Computer system and boot control method

ABSTRACT

When a primary computer is taken over to a secondary computer in a redundancy configuration computer system where booting is performed via a storage area network (SAN), a management server delivers an information collecting/setting program to the secondary computer before the user&#39;s operating system of the secondary computer is started. This program assigns a unique ID (World Wide Name), assigned to the fiber channel port of the primary computer, to the fiber channel port of the secondary computer to allow a software image to be taken over from the primary computer to the secondary computer.

INCORPORATION BY REFERENCE

This application is a continuation application of U.S. application Ser. No. 11/522,920, filed Sep. 19, 2006, now U.S. Pat. No. 7,657,778, the entirety of which is incorporated by reference.

BACKGROUND OF THE INVENTION

The present invention relates to a boot control method for use in a computer system redundantly configured in a SAN environment.

Recently, more and more computer systems are booted via a fibre-channel-connected storage area network (SAN). In a conventional redundancy configuration computer system where booting is performed from a built-in hard disk of each computer, the operating system and application programs must be installed in both the primary computer and the secondary computer in a similarly configured form. On the other hand, when booting is performed in a SAN environment, the primary computer and the secondary computer can share the same RAID device via the SAN, allowing the primary computer and the secondary computer to share the software image in which the operating system is installed.

However, in a computer system where booting is performed in the SAN environment, the RAID device has the security function that enables only a computer to access the corresponding logical unit to protect data in the logical unit in the RAID device where the operating system is installed. Usually, this security function uses a unique ID (World Wide Name), assigned to the fibre channel port installed in each computer, to associate the logical unit where the operating system is installed with the unique ID (World Wide Name) assigned to the fibre channel port of the computer to allow only access from the fibre channel port with the ID (World Wide Name). In some cases, the ID unique to the device (World Wide Name) is recorded in the software including the operating system.

A prior art technology for the security function of a RAID device is disclosed in JP-A-2002-149599. A prior art technology for altering and taking over a World Wide Name in the fibre channel interface is disclosed in JP-A-2002-126310.

SUMMARY OF THE INVENTION

In the redundancy configuration of a computer system where booting is performed via the storage area network (SAN), the unique ID (World Wide Name) assigned to the fibre channel port of the primary computer differs from the unique ID assigned to the fibre channel port of the secondary computer. Therefore, when the primary computer is taken over to the secondary computer, the software image including the operating system cannot be directly taken over but the security function setting of the RAID device side must be changed via the SAN management software or the manual operation.

To solve the above problem, the present invention uses a management server or a service processor having the software delivery function. Before an operating system used by the user is started, the management server delivers an information collection/setting program to the computers to read and record unique IDs (World Wide Names) assigned to the fibre channel ports of primary computers. When a primary computer is taken over to a secondary computer, a unique ID (World Wide Name), assigned to the fibre channel port of the primary computer and recorded by the information collection/setting program, is set on the fibre channel port of the secondary computer before the operating system of the secondary computer is started. This allows a software image, including the operating system of the primary computer, to be used without change.

The present invention enables a primary computer and a secondary computer in a redundancy configuration computer system, where booting is performed via a storage area network (SAN), to use a software image including the operating system without changing the setting on the RAID device side.

Other objects, features and advantages of the invention will become apparent from the following description of the embodiments of the invention taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram showing the configuration of a redundancy configuration system in a SAN booting environment described in one embodiment of the present invention.

FIG. 2 is a diagram showing the configuration of a table for managing LUN mapping information in a RAID device.

FIG. 3 is a diagram showing the overview of setting unique IDs by an information collection/setting program.

FIG. 4 is a diagram showing the configuration of a WWN management table.

FIG. 5 is a general flowchart showing the operation performed from the time a computer is taken over to the time a unique ID is set.

DESCRIPTION OF THE EMBODIMENTS

An embodiment of the present invention will be described below with reference to the drawings.

FIG. 1 is a configuration diagram showing the redundancy configuration of a computer system in the SAN booting environment. A management server 10 is a server that has the function for managing the device information on a primary computer A 11, a primary computer B 12, a primary computer C 13, and a secondary computer 14 and the function for delivering software such as the operating system or applications. The management server 10 may also be a service processor having the functions described above. The management server 10 delivers an information collection/setting program 28 for collecting device information before the operating systems of the primary computer A 11, primary computer B 12, primary computer C 13, and secondary computer 14 are started. The secondary computer 14 is a computer that can take over the processing when one of the primary computer A 11, primary computer B 12, and primary computer C 13 stops.

The primary computer A 11, primary computer B 12, primary computer C 13, and secondary computer 14 each have one or more fibre channel ports 15, 16, 17, and 18. The fibre channel ports 15, 16, 17, and 18, each with a unique ID (World Wide Name), are connected to a RAID device 23 via a fibre channel switch 22. The operating systems to be booted are defined in the RAID device 23: OS-A 24 for the primary computer A 11, OS-B 25 for the primary computer B 12, and OS-C 26 for the primary computer C 13. A LUN mapping table 27, which associates the unique ID (World Wide Name) assigned to the fibre channel port of each computer with an operating system, is also provided to form logical connections 19, 20, and 21 between the operating systems and the computers. The logical connections 19, 20, and 21 control access; for example, the logical connections inhibit the primary computer A 11 from accessing OS-B 25.

When the primary computer C 13 stops in the redundancy configuration of the computer system described above, the management server 10 delivers an information collection/setting program 28 before starting the operating system of the secondary computer and sets the unique ID (World Wide Name=WWN=c), assigned to the fibre channel port 17 of the primary computer C 13, to the fibre channel port 18 of the secondary computer 14. This changed setting forms a logical connection 29 without updating the setting of the RAID device 23, allowing the secondary computer 14 to use the operating system OS-C 26 originally defined in the RAID device 23 for use by the primary computer C 13.

FIG. 2 is a diagram showing the structure of the LUN mapping table 27. “World Wide Name of computer” indicates the unique ID (World Wide Name) assigned to the fibre channel port of each computer, and “Accessible logical unit” indicates the logical unit defined in the RAID device. This LUN mapping table 27, which associates the computers with logical units, limits a computer from accessing the logical units associated with other computers to protect the contents of those logical units.

FIG. 3 is a configuration diagram showing how the unique IDs (World Wide Names) assigned to the fibre channel ports of the computers are read and set before the operating systems are started. The management server 10 delivers (53) the information collection/setting program 28 to the computers before the operating systems used by the users are started. A delivery path 55 used in this case may be a standard Ethernet (registered trademark) or a dedicated interface. An information collection/setting program 52, delivered to the primary computers 11, 12, and 13, reads the unique IDs (World Wide Names) assigned to the fibre channel ports and registers them in a WWN management table 51 in the management server 10. When a primary computer stops, an information collection/setting program 56 is delivered (53) also to the secondary computer 14 before the operating system used by the user of the secondary computer 14 is started. The information collection/setting program 56 obtains the unique ID (World Wide Name), assigned to the fibre channel port used by the stopped primary computer, from the WWN management table 51 and sets the obtained unique ID to the fibre channel port of the secondary computer 14.

FIG. 4 is a diagram showing the structure of the WWN management table 51. “Computer name” contains the name or ID for identifying a computer, and “State” contains a flag indicating whether the computer is in operation state or stopped state. “Original WWN” indicates the original unique ID (World Wide Name) assigned to the fibre channel port of a computer and, for a standard fibre channel board, this ID sometimes indicates the unique ID (World Wide Name) recorded on the board. “Reassigned WWN” indicates the unique ID (World Wide Name) taken over from a primary computer for reassignment to the secondary computer.

FIG. 5 is a diagram showing the general flowchart for setting a unique ID (World Wide Name) when a primary computer is taken over to a secondary computer. In this example, the network booting server program is started in the management server to deliver the information collection/setting program. After the power is turned on (501), the management server starts the network booting server program to deliver the information collection/setting program (502). Typically, this network booting server program is a PXE (Preboot eXecution Environment) boot server. The primary computer performs network booting via the management server (503) and receives the information collection/setting program delivered from the management server (504). The information collection/setting program executed on the primary computer specifies the network booting priority or SAN booting priority as well as the RAID device where SAN booting is performed, collects the unique ID (World Wide Name) assigned to the computer, and notifies this information to the management server (505). The management server generates the WWN management table from the notified information (506). After the information collection processing of the information collection/setting program is completed, the primary computer is booted and the operating system used by the user is started (507). After that, upon detecting that the primary computer fails or stops (508), the management server starts the network booting server program (509). The secondary computer performs network booting via the management server (510), and the management server delivers the information collection/setting program to the secondary computer (511). The information collection/setting program is executed on the secondary computer, and the information, such as the unique ID (World Wide Name) of the stopped primary computer, booting priority, and the RAID device where SAN booting is to be performed, is set in the secondary computer (512). The management server reflects the updated unique ID (World Wide Name) on the WWN management table (513), and the secondary computer is booted and the operating system used by the user is started to take over the processing of the primary computer (514).

It should be further understood by those skilled in the art that although the foregoing description has been made on embodiments of the invention, the invention is not limited thereto and various changes and modifications may be made without departing from the spirit of the invention and the scope of the appended claims. 

1. A boot control method for a computer system having a plurality of computers, including at least one primary computer and at least one secondary computer, a management server that controls said plurality of computers, each computer having a port for downloading a software image from a storage device, wherein the port has a unique ID, wherein said storage device has a plurality of logical units each of which contains the software image of each computer and has an access information table that defines the unique IDs of the ports of computers that can access each logical unit, said boot control method comprising the steps of: managing, by said management server, the unique IDs assigned to the ports of the computers that can access each logical unit; when a primary computer fails, setting the unique ID assigned to the port of the failed primary computer on a port of a secondary computer; and downloading from a logical unit of the storage device, by said secondary computer, the software image for the failed primary computer, based on the unique ID that is set on the port of said secondary computer.
 2. The boot control method for a computer system according to claim 1, further comprising the step of: delivering, by said management server, an information collection/setting program to the computers before OS's of the computers are started to execute the information collection/setting program on the computers for collecting the unique IDs assigned to the ports of the computers.
 3. The boot control method for a computer system according to claim 2, further comprising the steps of: registering, by said management server, the collected unique IDs in a management table, said unique IDs being assigned to the ports of the computers.
 4. The boot control method for a computer system according to claim 3, further comprising the steps of: when a stop of a primary computer is detected, delivering, by said management server, the information collection/setting program to a secondary computer; and executing, by said secondary computer, the information collection/setting program to obtain a unique ID, assigned to the port of the stopped primary computer, from said management table for setting the obtained unique ID to the port of the second computer.
 5. A computer system comprising a plurality of computers including at least one primary computer and at least one secondary computer, a management server that controls said plurality of computers, a storage device in which a software image including an operating system of each computer is stored, and a switch that connects said storage device to the computers, each computer having a port for downloading a software image of each computer from said storage device based on a unique ID that is set on the port; wherein said management server has a management table in which unique IDs assigned to ports of the computers are registered and, when a primary computer fails, a unique ID assigned to a port of the failed primary computer is set on a port of a secondary computer; and said secondary computer downloads a software image for the failed primary computer based on the unique ID; wherein said storage device has a plurality of logical units each of which contains a software image of each computer and has an access information table that defines unique IDs of ports of computers that can access each logical unit.
 6. The computer system according to claim 5 wherein said management server is a service processor. 